package com.wct.mall.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wct.mall.domain.PmsProductAttributeValue;
import com.wct.mall.mapper.PmsProductAttributeValueMapper;

@Service
public class PmsProductAttributeValueService {

    @Resource
    private PmsProductAttributeValueMapper pmsProductAttributeValueMapper;


    public int deleteByPrimaryKey(Long id) {
        return pmsProductAttributeValueMapper.deleteByPrimaryKey(id);
    }


    public int insert(PmsProductAttributeValue record) {
        return pmsProductAttributeValueMapper.insert(record);
    }


    public int insertSelective(PmsProductAttributeValue record) {
        return pmsProductAttributeValueMapper.insertSelective(record);
    }


    public PmsProductAttributeValue selectByPrimaryKey(Long id) {
        return pmsProductAttributeValueMapper.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(PmsProductAttributeValue record) {
        return pmsProductAttributeValueMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(PmsProductAttributeValue record) {
        return pmsProductAttributeValueMapper.updateByPrimaryKey(record);
    }

}

